package cn.yyh.servicePet.client;

import cn.yyh.commons.utils.R;
import cn.yyh.servicePet.domain.Shop;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.stereotype.Component;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestHeader;

import java.util.List;

/**
 * @author 杨永航
 * @version 1.0
 * @Title: ShopClient
 * @Package: cn.yyh.servicePet.client
 * @date 2021/7/10
 */
@FeignClient(name = "service-org")
@Component
public interface ShopClient {
    @GetMapping("/serviceOrg/shop/listAll")
    String listAll(@RequestHeader(required = true) String token);
}
